package com.weipai.springboot.module.mapper;

import com.weipai.springboot.model.ProductPro;

import java.util.List;
import java.util.Map;

public interface ProductProMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ProductPro record);

    int insertSelective(ProductPro record);

    ProductPro selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ProductPro record);

    int updateByPrimaryKey(ProductPro record);

    //获取该产品关联的属性
    List<Map<String,Object>> getPropertyByProductId(String productId);
}